package hibernate;

import java.util.Date;

public class LastSnapshot 
{
	private int realStationId;
	private short available;
	private short free;
	private short total;
	private Date instant;
	
	public int getRealStationId() {
		return realStationId;
	}
	public void setRealStationId(int realStationId) {
		this.realStationId = realStationId;
	}
	public short getAvailable() {
		return available;
	}
	public void setAvailable(short available) {
		this.available = available;
	}
	public short getFree() {
		return free;
	}
	public void setFree(short free) {
		this.free = free;
	}
	public short getTotal() {
		return total;
	}
	public void setTotal(short total) {
		this.total = total;
	}
	public Date getInstant() {
		return instant;
	}
	public void setInstant(Date instant) {
		this.instant = instant;
	}
	
	
	public String toString()
	{
		String result = "  |id:" + realStationId + 
						"|available: " + available + 
						"|free: " + free +
						"|total: " + total + 
						"|instant: " + instant.toString() + 
						"\n";
		return result;
	}	
}

